home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr44 / sndoff20.zip / DELAY.DOC < prev    next >
Text File  |  1993-04-07  |  664b  |  31 lines

  1. You can use DELAY.EXE to insert timed pauses
  2. into batch files.
  3.  
  4. A max delay time can be inserted after DELAY, in tenths of a second.
  5. Such as DELAY 10 = 1 sec. pause
  6.  
  7. Pressing Esc will abort delay and return an errorcode of 99 for
  8. batch file errorlevel checking.
  9.  
  10. Minumum value is DELAY 1
  11. Maximum value is DELAY 32767  (about 9 hours)
  12.  
  13. DELAY with no time number will delay 1 second.
  14.  
  15. Example:
  16.  
  17. echo off
  18. :Begin
  19. echo  This is a test
  20. soundoff 400 200 10 10
  21. delay 5
  22. if errorlevel 99 goto Done
  23. echo  Still Testing......
  24. dir/w
  25. delay 10
  26. if errorlevel 99 goto Done
  27. GOTO Begin
  28. :Done
  29.  
  30. You are welcome to use and distribute DELAY with your work.
  31.